package com.ohos.connect.devicecloud.iot.model.dto.deviceactive;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;


/**
 * @Description: 设备激活DTO
 * */
@Getter
@Setter
public class DeviceActiveDTO {

    @ApiModelProperty(value = "设备注册认证码",position = 1)
    @NotBlank(message = "设备注册认证码")
    private String code;

    @ApiModelProperty(value = "设备ID", position = 2)
    private String devId;

    @ApiModelProperty(value = "设备信息",position = 3)
    private DeviceInfoInsertDTO devInfo;
}
